setFragmentFactory

open fun setFragmentFactory(@NonNull fragmentFactory: FragmentFactory)(source)

Set a FragmentFactory for this FragmentManager that will be used to create new Fragment instances from this point onward.

The child FragmentManager of all Fragments in this FragmentManager will also use this factory if one is not explicitly set.

Parameters

fragmentFactory

the factory to use to create new Fragment instances

See also